
package com.itluma.isWOak.mapper;

import com.itluma.isWOak.pojo.ModuleInfo;
import com.itluma.isWOak.pojo.RoleInfo;
import com.itluma.isWOak.vo.RolesForm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ms
 * @create 2021-04-09 10:14
 */
public interface RoleMapper {




    int insert(RoleInfo roleInfo);


    int deleteByRid(String rid);

    int updateNameByRid(RolesForm rolesForm);
    /**
     * 查询所有角色
     * @return
     */
    List<RoleInfo> list();
}